home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / prolog / sbprolog / v3 / sim.lha / sim / builtin / Makefile < prev    next >
Makefile  |  1990-09-11  |  2KB  |  68 lines

  1. # /**********************************************************************
  2. # *                                    *
  3. # * The SB-Prolog System                        *
  4. # * Copyright SUNY at Stony Brook, 1986; University of Arizona, 1987    *
  5. # *                                    *
  6. # ***********************************************************************/
  7. # /*-----------------------------------------------------------------
  8. # SB-Prolog is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY.  No author or distributor
  10. # accepts responsibility to anyone for the consequences of using it
  11. # or for whether it serves any particular purpose or works at all,
  12. # unless he says so in writing.  Refer to the SB-Prolog General Public
  13. # License for full details.
  14. # Everyone is granted permission to copy, modify and redistribute
  15. # SB-Prolog, but only under the conditions described in the
  16. # SB-Prolog General Public License.   A copy of this license is
  17. # supposed to have been given to you along with SB-Prolog so you
  18. # can know your rights and responsibilities.  It should be in a
  19. # file named COPYING.  Among other things, the copyright notice
  20. # and this notice must be preserved on all copies. 
  21. # ------------------------------------------------------------------ */
  22. CFLAGS = -c -O
  23. OBJ1   = arith.o buffer.o builtin.o compare.o file.o init_branch.o meta.o
  24. OBJ2   = name.o other.o saverest.o structure.o substuff.o time.o tio.o token.o stlookup.o
  25. OBJS   = $(OBJ1) $(OBJ2)
  26. HS     = builtin.h ../aux.h ../sim.h
  27.  
  28. builtin : $(OBJS) 
  29.     ld -o builtin -r $(OBJS) -lm
  30. clean:
  31.     rm $(OBJS)
  32.  
  33. arith.o : arith.c $(HS)
  34.     cc $(CFLAGS) arith.c
  35. buffer.o : buffer.c $(HS)
  36.     cc $(CFLAGS) buffer.c
  37. builtin.o : builtin.c $(HS) 
  38.     cc $(CFLAGS) builtin.c
  39. compare.o : compare.c $(HS)
  40.     cc $(CFLAGS) compare.c
  41. file.o  : file.c $(HS)
  42.     cc $(CFLAGS) file.c
  43. init_branch.o : init_branch.c $(HS) 
  44.     cc $(CFLAGS) init_branch.c
  45. meta.o  : meta.c $(HS)
  46.     cc $(CFLAGS) meta.c
  47. name.o  : name.c $(HS)
  48.     cc $(CFLAGS) name.c
  49. other.o : other.c $(HS)
  50.     cc $(CFLAGS) other.c
  51. saverest.o : saverest.c ../sim.h ../aux.h 
  52.     cc $(CFLAGS) saverest.c
  53. structure.o : structure.c $(HS)
  54.     cc $(CFLAGS) structure.c
  55. substuff.o : substuff.c ../sim.h
  56.     cc $(CFLAGS) substuff.c
  57. time.o  : time.c $(HS)
  58.     cc $(CFLAGS) time.c
  59. tio.o   : tio.c $(HS)
  60.     cc $(CFLAGS) tio.c
  61. token.o : token.c $(HS)
  62.     cc $(CFLAGS) token.c
  63. stlookup.o: $(HS) stlookup.c
  64.     cc $(CFLAGS) stlookup.c
  65.